package com.gioneco.model;//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

import java.io.Serializable;

public class PageVO implements Serializable {
    private static final long serialVersionUID = 13154231451231311L;
    private long current = 1L;
    private long size = 20L;
    private Long pages;
    private Long total;
    private String orderFiled;

    public PageVO() {
    }

    public long getCurrent() {
        return this.current;
    }

    public long getSize() {
        return this.size;
    }

    public Long getPages() {
        return this.pages;
    }

    public Long getTotal() {
        return this.total;
    }

    public String getOrderFiled() {
        return this.orderFiled;
    }

    public void setCurrent(long current) {
        this.current = current;
    }

    public void setSize(long size) {
        this.size = size;
    }

    public void setPages(Long pages) {
        this.pages = pages;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public void setOrderFiled(String orderFiled) {
        this.orderFiled = orderFiled;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof PageVO)) {
            return false;
        } else {
            PageVO other = (PageVO)o;
            if (!other.canEqual(this)) {
                return false;
            } else if (this.getCurrent() != other.getCurrent()) {
                return false;
            } else if (this.getSize() != other.getSize()) {
                return false;
            } else {
                label52: {
                    Object this$pages = this.getPages();
                    Object other$pages = other.getPages();
                    if (this$pages == null) {
                        if (other$pages == null) {
                            break label52;
                        }
                    } else if (this$pages.equals(other$pages)) {
                        break label52;
                    }

                    return false;
                }

                Object this$total = this.getTotal();
                Object other$total = other.getTotal();
                if (this$total == null) {
                    if (other$total != null) {
                        return false;
                    }
                } else if (!this$total.equals(other$total)) {
                    return false;
                }

                Object this$orderFiled = this.getOrderFiled();
                Object other$orderFiled = other.getOrderFiled();
                if (this$orderFiled == null) {
                    if (other$orderFiled != null) {
                        return false;
                    }
                } else if (!this$orderFiled.equals(other$orderFiled)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(Object other) {
        return other instanceof PageVO;
    }

}
